import request from '../utils/request'
let config = require('~/config/sysConfig')


export function getBlogByUid(params) {
    return request({
        url: process.env.WEB_API + '/content/getBlogByUid',
        method: 'get',
        params
    })
}

export function getSameBlogByTagUid(params) {
    return request({
        url: process.env.WEB_API + '/content/getSameBlogByTagUid',
        method: 'get',
        params
    })
}

export function getSameBlogByBlogUid(params) {
    return request({
        url: process.env.WEB_API + '/content/getSameBlogByBlogUid',
        method: 'get',
        params
    })
}

export function praiseBlogByUid(params) {
    return request({
        url: process.env.WEB_API + '/content/praiseBlogByUid',
        method: 'get',
        params
    })
}

export function getBlogPraiseCountByUid(params) {
    return request({
        url: process.env.WEB_API + '/content/getBlogPraiseCountByUid',
        method: 'get',
        params
    })
}
